#ifndef __BLOCK_SPRITE_H__
#define __BLOCK_SPRITE_H__

#include "cocos2d.h"
USING_NS_CC;

class Block : public cocos2d::Sprite
{
public:
	virtual bool init();
	CREATE_FUNC(Block);
	int getIdx() { return m_idx; }

	virtual void update(float dt);
private:
	int m_idx;
	
	Vec2 m_speed;
};

#endif // __BLOCK_SPRITE_H__
